﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Master/MasterPage.master"   CodeBehind="Blacklist.aspx.cs" Inherits="HZ.Supervise.Web.Secondphase.Blacklist" %>

<%@ Register Src="~/Common/QueryControl.ascx" TagName="QueryControl" TagPrefix="uc1" %>
<%@ Register Src="../Common/ChartControl.ascx" TagName="ChartControl" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        function opennew() {
            window.showModalDialog('SelectCompanyToBlackList.aspx?','', 'dialogWidth=500px;dialogHeight=550px;');
            window.location.reload();
        }
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="tabnav">
        <ul>
            <li class="active"><a href="Blacklist.aspx" target="_blank">企业黑名单管理</a></li>
        </ul>
    </div>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                        <tr>
                            <td align="right">
                                企业名称：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtCompanyName" MaxLength="25" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                </td>
                <td width="100px">
                    <asp:Button ID="btnQuery" runat="server" Text="查询" CssClass="searchbtn"
                        SkinID="search" ToolTip="点击查询符合条件的数据" onclick="btnQuery_Click" />
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="gvwBlackList" CssClass="mainlist" runat="server" AutoGenerateColumns="False"
        EmptyDataText="暂无有效的投诉信息！">
        
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%# Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex - 1)%></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:BoundField HeaderText="企业名称" DataField="CompanyName" />
            <asp:BoundField HeaderText="注册地址" DataField="Address"/>
            <asp:BoundField HeaderText="法人代表" DataField="LayMan"/>
            <asp:BoundField HeaderText="企业联系人" DataField="ContactPerson"/>
            <asp:BoundField HeaderText="联系电话" DataField="TelNo"/>
            <asp:BoundField HeaderText="邮箱" DataField="Email"/>
                <asp:BoundField HeaderText="原因" DataField="AddReason"/>
            <asp:TemplateField HeaderText="操作">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <a href='#'>处理</a>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
     <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" 
             onpagechanged="AspNetPager1_PageChanged">
        </webdiyer:AspNetPager>
    </div>
    <div class="listctrl">
       <input id="btnSelectH" type="button" value="添加" style="width:60px" class="btn" onclick="opennew()" />    
    </div>
</asp:Content>



